package com.gitee.wsl.scheduler.job.bean

import com.gitee.wsl.ext.base.currentTime
import kotlin.time.ExperimentalTime
import kotlin.time.Instant
import kotlin.uuid.ExperimentalUuidApi
import kotlin.uuid.Uuid

@OptIn(ExperimentalTime::class)
data class JobLock @OptIn(ExperimentalUuidApi::class) constructor(
    val id: Uuid,
    val updatedAt: Instant = currentTime
)